package com.tanhua.domain.mongo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;

import java.io.Serializable;

/**
 * 问卷中的试题
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Document("soul_question")
public class SoulQuestion implements Serializable {

    /*问题编号 主键id*/
    private ObjectId id;
    /*问题属于哪个问卷*/
    private ObjectId soulPaperId;
    /*题目*/
    private String question;
}
